package com.kede.app.repository;

import com.kede.app.domain.ZhiCategory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
* @author Pr.li
* @date 2023-07-02
**/
public interface ZhiCategoryRepository extends JpaRepository<ZhiCategory, Integer>, JpaSpecificationExecutor<ZhiCategory> {

    public List<ZhiCategory> findAllByPid(Integer pid);
}